package cn.iocoder.yudao.module.famous.doctor.controller.admin.banner.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 名医-轮播图 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class FamBannerBaseVO {

    @Schema(description = "图片地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.xxx.cn")
    @NotNull(message = "图片地址不能为空")
    private String imgUrl;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "终端类型：1患者端2医生端", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "终端类型：1患者端2医生端不能为空")
    private Integer deviceType;

    @Schema(description = "轮播图类型：1无跳转 2图文 3链接", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "轮播图类型：1无跳转 2图文 3链接不能为空")
    private Integer type;

    @Schema(description = "状态1显示2不显示", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态1显示2不显示不能为空")
    private Integer status;

}
